package com.example.app.moudle.home.adapter.vh

import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.chad.library.adapter4.BaseMultiItemAdapter
import com.example.app.databinding.LayoutHomeFollowBinding
import com.example.app.moudle.home.HomeF
import com.example.app.moudle.home.entity.HomeTabEntity
import com.example.app.moudle.home.vm.HomeVM

/**
 * CreateBy:Joker
 * CreateTime:2024/1/8 20:01
 * description：
 */
class VHFollowPage(
    parent: ViewGroup,
    val binding: LayoutHomeFollowBinding = LayoutHomeFollowBinding.inflate(LayoutInflater.from(parent.context), parent, false)
) : RecyclerView.ViewHolder(binding.root)

class FollowPageAdapter(homeF: HomeF) : BaseMultiItemAdapter.OnMultiItemAdapterListener<HomeTabEntity, VHFollowPage> {
    override fun onCreate(context: Context, parent: ViewGroup, viewType: Int) = VHFollowPage(parent)

    override fun onBind(holder: VHFollowPage, position: Int, item: HomeTabEntity?) {
        holder.binding.apply {

        }

    }

}